package cn.hpclub.server.model.recommend;

import com.jfinal.ext.plugin.tablebind.TableBind;
import com.jfinal.plugin.activerecord.Model;

/**
 * @FileName: Recommend.java
 * @Author zhl
 * @Description:推荐有奖数据操作model
 * @Date 2016年8月5日 下午2:48:57
 * @CopyRight ZTE Corporation
 */
@TableBind(tableName = "recommend")
public class Recommend extends Model<Recommend> {

    private static final long     serialVersionUID = -3719338752470759887L;
    public static final Recommend dao              = new Recommend();
    /**
     * 主键Id
     */
    public static String          ID                    = "id";

    /**
     * 用户Id
     */
    public static String          USER_ID               = "user_id";
    /**
     * 用户姓名
     */
    public static String          NAME                  = "name";
    /**
     * 用户手机号
     */
    public static String          PHONE                 = "phone";
    /**
     * 推荐人手机号
     */
    public static String           RECOMMENDER_PHONE    = "recommender_phone";
    /**
     * 手笔业务办理时间
     */
    public static String            FIRST_SERVICE_TIME  = "first_service_time";
    /**
     * 创建时间
     */
    public static String            CREATE_TIME         = "create_time";

    /**
     * 新用户是否已赠费
     */
    public static String            USER_AWARD          =  "user_award";
    /**
     * 推荐人是否已赠费
     */
    public static String            RECOMMENDER_AWARD          =  "recommender_award";

    /**
     * 首笔订单号
     */
    public static String            FIRST_ORDER_ID          =  "first_order_id";

    /**
     * 被推荐人奖励资费代码
     */
    public static String            RECIPIENT_BUSINESS_CODE          =  "recipient_business_code";
    /**
     * 推荐人奖励资费代码
     */
    public static String            RECOMMENDER_BUSINESS_CODE          =  "recommender_business_code";
    /**
     * 被推荐人奖励订单号
     */
    public static String            RECIPIENT_ORDER_ID          =  "recipient_order_id";
    /**
     * 推荐人奖励订单号
     */
    public static String            RECOMMENDER_ORDER_ID          =  "recommender_order_id";


}
